package com.bigmi.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bigmi.model.common.dtos.ResponseResult;
import com.bigmi.model.user.dtos.LoginDto;
import com.bigmi.model.user.pojos.ApUser;
import com.bigmi.model.wemedia.pojos.WmUser;

import java.util.Map;

public interface ApLoginService extends IService<ApUser> {
    /**
     * app登录
     * @param
     * @return
     */
    //public ResponseResult login(LoginDto dto);
    public ResponseResult login(LoginDto dto);

    /**
     * 获取验证码
     * @param phone
     */
    public ResponseResult sendMsg  (Map phone) ;

    /**
     * 申请成为自媒体
     */
    public ResponseResult apply(WmUser wmUser);
}
